{extend name="layout:base" /}
{block name="page_content"}
<section class="service">
    <div class="banner">
        <?php if(isset($tree_node['pc_banner_path'])): ?>
            <img src="{$site_root}{$tree_node.pc_banner_path}" alt="{$tree_node.title}">
        <?php else: ?>
            <img src="{$cdn_root}/static/index/img/banner_news.png" alt="{$tree_node.title}">
        <?php endif; ?>
    </div>
    <div class="center">
        <div class="else-title">
            {$tree_node.title}
            <span>&nbsp;/&nbsp;&nbsp;{$tree_node.name}</span>
        </div>
        <ul class="normal">
            <?php $list = $res->all(); ?>
            {volist name="$list" id="vo"}
                <li>
                    <a href="{:url('read', ['id' => $vo['id']])}">
                        <p>{$vo.title}</p>
                        <img src="{$site_root}{$vo.pc_cover_path}" alt="{$vo.title}">
                    </a>
                </li>
            {/volist}
        </ul>
    </div>
</section>
{/block}